Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 10 - Group Objects / Group Objects Reference
Group Objects Routines / Getting Group Positions


Q3Group_GetFirstPositionOfType

You can use the Q3Group_GetFirstPositionOfType function to get the position of the first object of a particular type in a group.

TQ3Status Q3Group_GetFirstPositionOfType (
TQ3GroupObject group, 
TQ3ObjectType isType, 
TQ3GroupPosition *position);
group
A group.
isType
An object type.
position
On exit, a group position.
DESCRIPTION
The Q3Group_GetFirstPositionOfType function returns, in the position parameter, the position of the first object in the group specified by the group parameter that has the type specified by the isType parameter.

ERRORS
kQ3ErrorInvalidObject
kQ3ErrorNULLParameter


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996